const React = require("react");
const ReactDom = require("react-dom");
import {Provider} from "react-redux";
import {createStore} from "redux";
import ListApp from "./Middle";
const uuid = require("uuid").v1;
import updater from "./redux/updater";

let list = [
  {name:"leoa",id:uuid()},
  {name:"leoa2",id:uuid()},
  {name:"leoa3",id:uuid()},
];

const store = createStore(updater, {leftList:list, rightList:[]});

ReactDom.render(<Provider store={store}>
    <ListApp/>
  </Provider> ,document.body);
